package com.anxuan.demo.model;


import lombok.Setter;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component("city")
@ToString

public class City {
    private String cityName;


    @PostConstruct
    private void setCityName() {
        this.cityName = "东莞";
    }

}
